import java.io.*;
public class E21 {
  public static void main (String args[]) {
     File f = new File("E.java");
     try{ RandomAccessFile in = new RandomAccessFile(f,"rw");
         System.out.println(f.length());
         FileOutputStream out = new FileOutputStream(f);
         System.out.println(f.length());
     }
     catch (IOException e) {
         System.out.println("File read Error"+e);
     }
  }
}
